//
//  DicHeaderView.h
//  划词显示
//
//  Created by 盛超 on 2018/8/16.
//  Copyright © 2018年 盛超. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ModelDic.h"

@protocol DicHeaderViewDelegate <NSObject>

- (void)selectBtn:(UIButton*)selectBtn ScrollToIndex:(NSInteger)index;

- (void)showBtns:(NSArray*)isExisBtns;

@end

@interface DicHeaderView : UIView

@property (nonatomic,strong) UIButton *meanBtn;
@property (nonatomic,strong) UIButton *collBtn;
@property (nonatomic,strong) UIButton *discBtn;
@property (nonatomic,strong) UIButton *classBtn;
@property (nonatomic,strong) UIImageView *lineImageView;

@property (nonatomic,strong) ModelDic *model;

@property (nonatomic,assign) id<DicHeaderViewDelegate>delegate;

- (void)buttonAtion:(UIButton*)sender ;

- (instancetype)initWithFrame:(CGRect)frame ShowRecord:(BOOL)show;

- (void)stopPlay;

@end
